import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import dayjs from 'dayjs';
import { ConfigProvider } from 'antd';
import 'dayjs/locale/zh-cn';

import zhCN from 'antd/locale/zh_CN';


dayjs.locale('zh-cn');

import './index.css';
// import { useAppStore } from './store';
import Router from './router';

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <ConfigProvider locale={zhCN}>
      <Router />
    </ConfigProvider>
  </StrictMode>
);
